﻿
html, body, #mainWindow
{
    font: normal 12px sans-serif;
    height: 100%;
    width: 100%;
    margin: 0;
    background-color: #ffffff;
}

.button
{
    background-color: #002050;
    font-size: 1em;
    color: #ffffff;
    border: none;
    padding: 6px;
}

    .button:hover
    {
        background-color: #bad6fe;
        color: #000000;
    }

    .button:active
    {
        background-color: #002050;
        color: #ffffff;
    }

    .button:disabled
    {
        cursor: auto;
        color: rgba(255,255,255,0.7);
    }

        .button:disabled:hover
        {
            background-color: #002050;
        }

.checkboxcontainer {
            color: white;
            background-color: #002050;
            padding: 6px;
            text-transform: capitalize;
            top: 0px !important; 
            margin-left: 0px !important;
            margin-right: 3px !important;
        }

        

.containerdisabled
{
    cursor: auto;
    color: rgba(255,255,255,0.7);
}

.checkbox
{
    vertical-align: middle;
    position: absolute !important;
    float: none !important;
    display: inline !important;
    min-height: 0px !important;
    margin-top: 7px !important;
}

.checkboxlabel
{
    /*vertical-align: middle;*/
    padding-left: 18px;
    padding-right: 8px;
}

.checkboxlabeldisabled
{
    cursor: auto;
    color: rgba(255,255,255,0.7);
}

.reset
{
    background: #002050 /*url("crms_CommandReset")*/ no-repeat 6px center;
    padding-left: 26px;
}

.pin
{
    background: #002050 /*url("crms_LocationMarker")*/ no-repeat 3px center;
    padding-left: 20px;
}

.link
{
    background: #002050 /*url("crms_Link_png")*/ no-repeat 6px center;
    padding-left: 26px;
}

.target
{
    background: #002050 /*url("crms_Target_png")*/ no-repeat 6px center;
    padding-left: 26px;
}

.createParent
{
    background: #002050 /*url("crms_AddNew")*/ no-repeat 6px center;
    padding-left: 26px;
}

.createLinked
{
    background: #002050 /*url("crms_Branch02")*/ no-repeat 6px center;
    padding-left: 26px;
}

.satellite
{
    background: #002050 /*url("crms_Satellite")*/ no-repeat 6px center;
    padding-left: 26px;
}

#header
{
    height: 50px;
    overflow: auto;
    padding: 0.5em;
}

#map
{
    height: 100%;
    overflow: hidden;
    padding: 0em;
    background-color: #ffffff;
}

#footer
{
    height: 30px;
    overflow: auto;
    padding: 0.5em;
}

.textbox
{
    border: solid 1px #ddd;
    padding: 2px;
    width: 140px;
}

div.rightish
{
    display: inline;
    position: absolute;
    right: 10px;
}

div.inliner
{
    display: inline;
    /*vertical-align: middle;*/
}

div.verticalline
{
    width: 1px;
    background-color: #eee;
    height: 20px;
    margin-left: 3px;
    margin-right: 3px;
}

.ashghal-combobox
{
    position: relative;
    display: inline-block;
    margin-bottom: 6px;
    font-size: 1em;
}

.bottomSelect .ashghal-combobox
{
    margin-bottom: 0px;
}

.ashghal-combobox-header
{
    color: #ffffff;
    background-color: #002050;
}

.ashghal-combobox-toggle
{
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
}

.ashghal-combobox-input
{
    margin: 0;
    padding: 5px 10px;
    font-size: 1em;
}

.ui-autocomplete
{
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 1em;
}

ul.ui-autocomplete.ui-menu
{
    z-index: 1000;
}

.ui-autocomplete-input
{
    width: 150px;
}

.ashghal-combobox .ui-state-disabled
{
    opacity: 1;
    filter: Alpha(Opacity=100);
    background-image: none;
}

.drop-disabled
{
    color: rgba(255,255,255,0.7);
    cursor: auto;
}

    .drop-disabled input
    {
        cursor: not-allowed !important;
        background-color: #eee !important;
        opacity: 1 !important;
    }

    .drop-disabled a
    {
        cursor: not-allowed !important;
        background-color: #eee !important;
        opacity: 1 !important;
    }

select.ui-state-hover
{
    background-color: #002050;
    filter: alpha(opacity = 35);
    background-image: none;
}

select
{
    width: 202px;
    display: none;
}

.hidden
{
    display: none;
}

.tooltipinfo
{
    background-color: rgba(255,255,255,0.8);
    border: solid 2px #000000;
    padding: 6px;
    line-height: 1.4em;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 0 7px black;
}

#layerInfoDiv
{
    padding: 6px 6px 6px 7px;
    width: 189px;
    background-color: #bad6fe;
    border: solid 1px #002050;
    color: #000000;
    margin-bottom: 10px;
}

    #layerInfoDiv div
    {
        font-weight: bold;
        margin-bottom: 3px;
    }

    #layerInfoDiv ul
    {
        margin: 0px;
        padding: 0px;
        list-style-position: inside;
        line-height: 1.4em;
    }

        #layerInfoDiv ul li
        {
            margin-left: 6px;
        }

#usersection
{
    border: 0px;
    position: absolute;
    left: 6px;
    top: 120px;
    background: #002050 /*url("crms_UserSelection")*/ no-repeat center center;
    height: 100px;
    width: 29px;
    z-index: 600;
}

#toc
{
    border: 0px;
    position: absolute;
    right: 6px;
    top: 120px;
    background: #002050 /*url("crms_TOC")*/ no-repeat center center;
    height: 60px;
    width: 29px;
    z-index: 600;
}

#legend
{
    border: 0px;
    position: absolute;
    right: 6px;
    top: 180px;
    background: #002050 /*url("crms_Legend")*/ no-repeat center center;
    height: 70px;
    width: 29px;
    z-index: 600;
    display: none;
}

    #usersection.passive, #toc.passive, #legend.passive
    {
        opacity: 0.5;
        filter: alpha(opacity = 50);
    }

#usersection:hover, #toc:hover #legend:hover
{
    cursor: pointer;
}

#leftPanel
{
    position: absolute;
    padding: 10px;
    padding-top: 0px;
    left: 35px;
    top: 120px;
    bottom: 90px;
    z-index: 600;
    display: none;
}

#rightPanel
{
    background-color: #ffffff;
    position: absolute;
    padding: 10px;
    right: 34px;
    top: 120px;
    bottom: 90px;
    z-index: 600;
    border: solid 1px #bad6fe;
    overflow-y: auto;
    display: none;
}

#stickyNote
{
    background-color: #fff19d;
    border: solid 1px #ffec7d;
    position: absolute;
    padding: 6px;
    left: 0px;
    right: 0px;
    top: 70px;
    z-index: 600;
    vertical-align: middle;
}

#notificationPanel
{
    background-color: #fff19d;
    border: solid 1px #ffec7d;
    position: absolute;
    padding: 6px;
    left: 6px;
    right: 6px;
    bottom: 55px;
    z-index: 600;
    vertical-align: middle;
}

.notificationBox .close
{
    /*background-image: url("crms_ui_icons_000000_256x240");*/
    background-position: -80px -128px;
    background-color: #fff19d;
    border: 0px;
    position: relative;
    float: right;
    z-index: 600;
}

    .notificationBox .close:hover
    {
        background-position: -32px -192px;
    }

.notificationBox span
{
    vertical-align: middle;
    margin-left: 6px;
}

.notificationBox .icon
{
    display: inline;
    height: 16px;
    width: 16px;
}

.notificationBox .message
{
    display: inline;
    height: 16px;
    vertical-align: middle;
}

.notificationBox .error
{
    /*background-image: url("crms_ui_icons_000000_256x240");*/
    background-position: 0 -144px;
    float: left;
    z-index: 600;
}

.notificationBox .info
{
    /*background-image: url("crms_ui_icons_000000_256x240");*/
    background-position: -16px -144px;
    float: left;
    z-index: 600;
}

.shadowDiv
{
    background-color: #a5bfdd;
    z-index: auto;
    opacity: 1;
    filter: alpha(opacity = 50);
}

.overlappingDiv
{
    background-color: #ffffff;
    z-index: 200;
    opacity: 1.0;
    filter: alpha(opacity = 100);
}

#processingDiv
{
    margin: 0 !important;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    align-items: center;
    height: 100%;
    display: flex;
	flex-direction:column;
    justify-content: center;
    text-align: center;
    z-index: 600;
    background-color: rgba(255, 255 ,255 ,0.65);
}

#processingText
{
    font-weight: bold;
}


.esriLegendService
{
    white-space: nowrap;
    padding: 5px 20px 5px 30px;
}

.esriLegendServiceLabel
{
    font-size: 10pt;
    font-weight: bold;
}

.esriLegendLayerLabel
{
    font-size: 9pt;
    font-weight: bold;
}

.esriLegendLayer
{
    font-size: 8pt;
    padding-left: 2px;
}

.agsjsTOCNode
{
    padding-top: 1px;
    padding-bottom: 1px;
}

.agsjsTOCContent
{
    white-space: nowrap;
}

.agsjsTOCOutOfScale
{
    color: grey;
    opacity: 0.5;
}

.agsjsTOCIcon
{
    vertical-align: bottom;
}

.agsjsTOCRootLayerLabel
{
    font-size: 10pt;
    font-weight: bold;
}

.agsjsTOCGroupLayer
{
    font-weight: bold;
}

.agsjsTOCGroupLayerLabel
{
    font-size: 9pt;
}

.agsjsTOCServiceLayer
{
    font-weight: bold;
}

.agsjsTOCServiceLayerLabel
{
    font-size: 9pt;
    padding-left: 2px;
}

.agsjsTOCLegendLabel
{
    font-size: 8pt;
    padding-left: 2px;
}

.agsjsTOCSlider
{
    padding: 5px 20px 5px 30px;
}

.mapPopup {
    height: 640px !important;
    /*width: 1080px !important;*/
}

.mapContainerDiv {
    /*padding-left: 0px !important;
    padding-right: 0px !important;*/
}

.MapButtonsContainer {
    position: absolute; 
    top: 1px; 
    right: 18px; 
    z-index: 600;
}
.modal .MapButtonsContainer {     
    right: 2px;
}

@media (min-width: 1200px) {
	.modal.container.mapContainerDiv {         
		width: 940px !important;
		margin-left: -470px !important;
	}
}